package xyz.liut.autolaunch;

import android.app.Application;

import xyz.liut.logcat.L;
import xyz.liut.logcat.android.AndroidLogcatHandler;
import xyz.liut.logcat.handler.FileHandler;

/**
 * Create by liut on 20-11-3
 */
public class App extends Application {

    public static final String LOG_FILE = "/data/data/xyz.liut.autolaunch/files/log.txt";

    static {
        L.getDefault()
                .clearHandler()
                .addHandler(new AndroidLogcatHandler("auto_launch"))
                .addHandler(new FileHandler(LOG_FILE));
    }


}
